<template>
    <CommonPage :tableConfig="option" formKey="dataMerchantCall"></CommonPage>
</template>
<script setup>
import CommonPage from '@/components/CommonPage/index.vue'
import { reactive } from 'vue';
const option = reactive({
    showOperation: false,
    span: 12,
    formItems: [
        {label: '数据商名称', prop: 'fileName', type: 'input', show: true},
        {label: '统计范围', prop: 'fileNo', type: 'datePicker', widgetType: "daterange", show: true},
    ],
    buttons: [
        {label: "导出", icon: 'Download', auth: '', handle: (event)=> {}},
    ],
    options: [
        {label: '停用', handle: (event) => {}, isShow:() => {return true}, type: 'danger'},
        {label: '启用', handle: (event) => {}, isShow:() => {return true}},
        {label: '编辑', handle: (event) => {}, isShow:() => {return true}},
        {label: '删除', handle: (event) => {}, isShow:() => {return true}, type: 'danger'}
    ]
})
</script>